package model

type I_manager struct {
	Mg_id     int    `form:"id,omitempty" json:"id,omitempty" gorm:"primary_key"` //;type:int(11);not null;"`
	Mg_name   string `form:"username,omitempty" json:"username,omitempty"`        // gorm:"type:varchar(32); not null"`
	Mg_pwd    string `form:"password,omitempty" json:"password,omitempty" `       //gorm:"type:char(64);not null"`
	Mg_time   int    `form:"create_time,omitempty" json:"create_time,omitempty"`  // gorm:"type:int(10); not null"`
	Role_id   int    `form:"rid,omitempty" json:"rid,omitempty"`                  // gorm:"type:int(11) ;not null"`
	Mg_mobile string `form:"mobile,omitempty" json:"mobile,omitempty"`            // gorm:"type:varchar(32)"`
	Mg_email  string `form:"email,omitempty" json:"email,omitempty"`              //gorm:"type:varchar(64)"`
	Mg_state  int    `form:"mg_state,omitempty" json:"mg_state,omitempty"`        // gorm:"type:int(2)"`
}

func (I_manager) TableName() string {
	return "i_manager"
}
